package com.tsing.service;

import com.tsing.common.result.PageResult;
import com.tsing.pojo.entity.TlLetter;
import com.tsing.pojo.vo.LetterVO;

/**
 * @author 吴阳基
 * @datetime 2023/12/15 20:50
 */
public interface LetterService {
    PageResult<LetterVO> list(Integer page, Integer size, Integer userId, Integer senderId);

    Integer send(Integer userId, Integer senderId, String content);

    PageResult<LetterVO> latestMessage(Integer page, Integer size, Integer userId);
}
